import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
// 导入全局样式
import './assets/css/global.css'
import axios from 'axios'
import echarts from 'echarts'
import 'echarts/extension/bmap/bmap'
Vue.prototype.$echarts = echarts

// axios.interceptors.request.use(config => {
//   console.log('1', config)
//   return config
// })
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
